<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@include file="css.jsp"%>
</head>
<body>
    <div class="pager"></div>
    <%@include file="js.jsp"%>
    <script type="text/javascript" src="../js/BootstrapPager.js"></script>
    <script>
        $(function () {
            $(".pager").html(Pager({
                totalCount:${param.totalCount}, //总条数为150
                pageSize:10,    //每页显示6条内容，默认10
                buttonSize:5,   //显示6个按钮，默认10
                pageParam:'pageNo',   //页码的参数名为'p'，默认为'page'
                className:'pagination',    //分页的样式
                prevButton:'上一页',       //上一页按钮
                nextButton:'下一页',       //下一页按钮
                firstButton:'首页',      //第一页按钮
                lastButton:'末页'       //最后一页按钮
            }));
        })
    </script>
</body>
</html>
